package org.flexharmony.eclipse.nature.wizard;

import org.eclipse.core.runtime.CoreException;
import org.eclipse.swt.widgets.Composite;
import org.flexharmony.eclipse.properties.classinclusion.IncludedSourceFolderPanel;

public class SourceInclusionPage extends AbstractNatureWizardPage
{
  private IncludedSourceFolderPanel inclusionPanel;
  
  protected SourceInclusionPage()
  {
    super("sourceinclusion");
    setTitle("Harmonized Java Files");
    setDescription("Select the Java source files that will be harmonized to ActionScript.");
  }
  
  public void save() throws CoreException
  {
    inclusionPanel.save();
  }

  public void createControl(Composite parent)
  {
    inclusionPanel = new IncludedSourceFolderPanel(getProject(), parent);
    setControl(inclusionPanel);
  }

}
